package com.ruoyi.docdemo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生档案对象 demo_student
 * 
 * @author ruoyi
 * @date 2021-01-09
 */
public class DemoStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 学号 */
    @Excel(name = "学号")
    private String code;

    /** 学院 */
    @Excel(name = "学院")
    private String college;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 年级 */
    @Excel(name = "年级")
    private String gradeLevel;

    /** 班级 */
    @Excel(name = "班级")
    private String classLevel;

    /** 性别 */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;

    /** 姓名拼音 */
    @Excel(name = "姓名拼音")
    private String nameEn;

    /** 宿舍号 */
    @Excel(name = "宿舍号")
    private String dormitory;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthDate;

    /** 出生地 */
    @Excel(name = "出生地")
    private String birthPlace;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String oriPlace;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String poCategory;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idno;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String mobile;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    private String mail;

    /** 照片 */
    @Excel(name = "照片")
    private String pic;

    /** 个人签名 */
    @Excel(name = "个人签名")
    private String sgPic;

    /** 教育经历 */
    @Excel(name = "教育经历")
    private String studyHis;

    /** 获奖经历 */
    @Excel(name = "获奖经历")
    private String rewardHis;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setCollege(String college) 
    {
        this.college = college;
    }

    public String getCollege() 
    {
        return college;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setGradeLevel(String gradeLevel) 
    {
        this.gradeLevel = gradeLevel;
    }

    public String getGradeLevel() 
    {
        return gradeLevel;
    }
    public void setClassLevel(String classLevel) 
    {
        this.classLevel = classLevel;
    }

    public String getClassLevel() 
    {
        return classLevel;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setNameEn(String nameEn) 
    {
        this.nameEn = nameEn;
    }

    public String getNameEn() 
    {
        return nameEn;
    }
    public void setDormitory(String dormitory) 
    {
        this.dormitory = dormitory;
    }

    public String getDormitory() 
    {
        return dormitory;
    }
    public void setBirthDate(Date birthDate) 
    {
        this.birthDate = birthDate;
    }

    public Date getBirthDate() 
    {
        return birthDate;
    }
    public void setBirthPlace(String birthPlace) 
    {
        this.birthPlace = birthPlace;
    }

    public String getBirthPlace() 
    {
        return birthPlace;
    }
    public void setOriPlace(String oriPlace) 
    {
        this.oriPlace = oriPlace;
    }

    public String getOriPlace() 
    {
        return oriPlace;
    }
    public void setNation(String nation) 
    {
        this.nation = nation;
    }

    public String getNation() 
    {
        return nation;
    }
    public void setPoCategory(String poCategory) 
    {
        this.poCategory = poCategory;
    }

    public String getPoCategory() 
    {
        return poCategory;
    }
    public void setIdno(String idno) 
    {
        this.idno = idno;
    }

    public String getIdno() 
    {
        return idno;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setMail(String mail) 
    {
        this.mail = mail;
    }

    public String getMail() 
    {
        return mail;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setSgPic(String sgPic) 
    {
        this.sgPic = sgPic;
    }

    public String getSgPic() 
    {
        return sgPic;
    }
    public void setStudyHis(String studyHis) 
    {
        this.studyHis = studyHis;
    }

    public String getStudyHis() 
    {
        return studyHis;
    }
    public void setRewardHis(String rewardHis) 
    {
        this.rewardHis = rewardHis;
    }

    public String getRewardHis() 
    {
        return rewardHis;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("college", getCollege())
            .append("major", getMajor())
            .append("gradeLevel", getGradeLevel())
            .append("classLevel", getClassLevel())
            .append("sex", getSex())
            .append("nameEn", getNameEn())
            .append("dormitory", getDormitory())
            .append("birthDate", getBirthDate())
            .append("birthPlace", getBirthPlace())
            .append("oriPlace", getOriPlace())
            .append("nation", getNation())
            .append("poCategory", getPoCategory())
            .append("idno", getIdno())
            .append("mobile", getMobile())
            .append("mail", getMail())
            .append("pic", getPic())
            .append("sgPic", getSgPic())
            .append("studyHis", getStudyHis())
            .append("rewardHis", getRewardHis())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
